package com.lai.hospital.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.vo
 * @Description: 科室VO
 * @date Date : 2022年11月24日 14:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "就诊人")
public class PatientBaseInfoVO {
    /**
     * userId
     */
    @NotBlank(message = "用户Id不能为空")
    @ApiModelProperty(name = "userId", value = "用户Id", required = true, dataType = "String")
    private Integer userId;

    /**
     * 用户患者关系
     */
    @NotBlank(message = "用户患者关系不能为空")
    @ApiModelProperty(name = "relation", value = "用户患者关系", required = true, dataType = "String")
    private String relation;

    /**
     * 患者姓名
     */
    @NotBlank(message = "患者姓名不能为空")
    @ApiModelProperty(name = "patientName", value = "患者姓名", required = true, dataType = "String")
    private String patientName;

    /**
     * 身份证号
     */
    @NotBlank(message = "身份证号不能为空")
    @ApiModelProperty(name = "idNumber", value = "身份证号", required = true, dataType = "String")
    private String idNumber;

    /**
     * 电话号
     */
    private String phone;

}
